package com.managertrade.dto;

/**
 * 跟单详细
 */
public class CopyTradingSubPositionDTO {
    /** 产品ID，如 BTC-USDT-SWAP */
    private String instId;

    /** 子仓位ID */
    private String subPosId;

    /** 持仓方向 long 或 short */
    private String posSide;

    /** 保证金 */
    private String margin;

    /** 杠杆倍数 */
    private String lever;

    /** 开仓均价 */
    private String openAvgPx;

    /** 未实现盈亏 */
    private String upl;

    /** 未实现盈亏比例 */
    private String uplRatio;

    /** 预估强平价 */
    private String liquidationPx;

    /** 创建时间（毫秒） */
    private String cTime;

    // Getter & Setter
    public String getInstId() { return instId; }
    public void setInstId(String instId) { this.instId = instId; }

    public String getSubPosId() { return subPosId; }
    public void setSubPosId(String subPosId) { this.subPosId = subPosId; }

    public String getPosSide() { return posSide; }
    public void setPosSide(String posSide) { this.posSide = posSide; }

    public String getMargin() { return margin; }
    public void setMargin(String margin) { this.margin = margin; }

    public String getLever() { return lever; }
    public void setLever(String lever) { this.lever = lever; }

    public String getOpenAvgPx() { return openAvgPx; }
    public void setOpenAvgPx(String openAvgPx) { this.openAvgPx = openAvgPx; }

    public String getUpl() { return upl; }
    public void setUpl(String upl) { this.upl = upl; }

    public String getUplRatio() { return uplRatio; }
    public void setUplRatio(String uplRatio) { this.uplRatio = uplRatio; }

    public String getLiquidationPx() { return liquidationPx; }
    public void setLiquidationPx(String liquidationPx) { this.liquidationPx = liquidationPx; }

    public String getcTime() { return cTime; }
    public void setcTime(String cTime) { this.cTime = cTime; }
}
